home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11089 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  944 b 

  1. Path: ccshst05.cs.uoguelph.ca!ccshst01!thay
  2. From: thay@uoguelph.ca (Toby K Hay)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Fixing stack overflow??
  5. Date: 21 Mar 1996 21:58:27 GMT
  6. Organization: University of Guelph
  7. Message-ID: <4isje3$8pa@ccshst05.cs.uoguelph.ca>
  8. References: <4is899$cg7$1@mhafc.production.compuserve.com>
  9. NNTP-Posting-Host: ccshst01.cs.uoguelph.ca
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Tom (70215.1323@CompuServe.COM) wrote:
  13. : I'm using Borland's C compiler and I am getting a stack
  14. : overflow.  How can I fix this?
  15.  
  16. From my Turbo C++ 3.0 manual:
  17. Run Time Error: Stack Overflow
  18. The default stack size for Turbo C++ programs is 5120 bytes.
  19. snip
  20. Change the stack size by altering the global variable _stklen.
  21. etc.
  22.  
  23. It's the same for Turbo C without the ++.  You can find the rest of the 
  24. important stuff about fixing the problem in your manual's error message 
  25. section - probably appendix C: Error Messages.
  26. Toby Hay    thay@uoguelph.ca
  27.